This resource endpoint deletes a given query roleset using a name or id passed in the URL.
A successful call to the endpoint will return 204 (No Content), the server successfully processed the request and is not returning any content. A response code of 400 (Bad Request) indicates that the payload is malformed. A status code of 401 (Unauthorized) is returned if the user does not have the necessary privileges for this action.
Produces | |
---|---|
application/json | JSON Content |
application/xml | XML Content |
manage-admin
role, or the following privilege:
http://marklogic.com/xdmp/privileges/manage
This resource endpoint deletes a given query roleset using a name or id passed in the URL.
> curl -X DELETE --anyauth -u admin:admin -H "Content-Type:application/xml" http://localhost:8002/manage/v2/query-rolesets/
This deletes the given entry. The call does not return any content, beyond headers.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.